package com.irdstudio.efp.report.service.dao;

import com.irdstudio.efp.report.service.domain.ZxbsLoanRepayDetail;

import java.util.List;

/**
 * DAO Interface:
 *
 * @author gcb
 * @date 2020-07-28
 */
public interface ZxbsLoanRepayDetailDao {
    /**
     * 新增数据
     *
     * @param zxbsLoanRepayDetail
     * @return
     */
    int insert(ZxbsLoanRepayDetail zxbsLoanRepayDetail);

    /**
     * 根据主键删除信息
     *
     * @param zxbsLoanRepayDetail
     * @return
     */
    int deleteByPk(ZxbsLoanRepayDetail zxbsLoanRepayDetail);

    /**
     * 根据主键更新信息
     *
     * @param zxbsLoanRepayDetail
     * @return
     */
    int updateByPk(ZxbsLoanRepayDetail zxbsLoanRepayDetail);

    /**
     * 根据主键查询详情
     *
     * @param zxbsLoanRepayDetail
     * @return
     */
    ZxbsLoanRepayDetail queryByPk(ZxbsLoanRepayDetail zxbsLoanRepayDetail);

    int insertOrUpdate(List<ZxbsLoanRepayDetail> list);

    List<ZxbsLoanRepayDetail> queryByRpyNo(List<String> list) throws Exception;
}